package com.ktjy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ktjy.mapper.SysRoleRightMapperCh06;
import com.ktjy.pojo.SysRoleRight;
import com.ktjy.service.SysRoleRightService;
import org.apache.ibatis.session.ExecutorType;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRoleRightServiceImpl extends ServiceImpl<SysRoleRightMapperCh06, SysRoleRight> implements SysRoleRightService {
    @Autowired
    SysRoleRightMapperCh06 sysRoleRightMapper;


    @Override
    public boolean addSysRoleRight(List<SysRoleRight> sysRoleRight) {
          return this.saveBatch(sysRoleRight);
    }
}
